<%@page contentType="text/html;charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>商品详细信息</title>
		<link href="../css/book1.css" rel="stylesheet" type="text/css" />
		<link href="css/comm_answer.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.5.1.min.js" ></script>
	
	</head>

	<body>
		<%@include file="../common/head.jsp"%>		
		<div class="wrap">
			<!--left end-->
			<div class="right">
				<div class="right_wai">

					<div class="shuming">
						<div class="shuming_left">
							<span class="black000"><a name="top_bk"></a><b>${product.productName }</b> </span>
						</div>
						<div class="empty_box"></div>
						<div class="empty_box"></div>
					</div>

					<div class="book_left">
						<a href="javascript:;" name="bigpicture_bk">
								<img src="${pageContext.request.contextPath}/productImages/${product.productPic}"  width="150" /> 
						</a>
					</div>
					<div class="book_right">
						<div id='author_'>
							作 者： ${product.author }
						</div>
						<div id='publisher_'>
							出 版 社：${product.publishing }
						</div>
						<ul class="nostyle">
							<li>
								出版时间： ${product.publishTimeAsString }
							</li>
							<li>
								字 数： ${product.wordNumber }
							</li>
							<li>
								版 次： ${product.whichEdtion }
							</li>
							<li>
								页 数： ${product.totalPage }
							</li>
							<li>
								开 本： 16开
							</li>
							<li>
								印 次： ${product.printTime }
							</li>
							<li>
								纸 张： 胶版纸
							</li>
							<li>
								I S B N ： ${product.isbn }
							</li>
							<li>
								包 装： 平装
							</li>
						</ul>

						<div id="__categroy_bk">
							所属分类：
							<s:iterator value="cates" var="name">
								<s:if test="#name.key==1">
								<a  class="blue12a" href="main.jsp">图书</a> &gt;&gt;
								</s:if>
								<s:else>
								<a  class="blue12a" href="#">
									<s:property value="#name.value"/>
								</a> &gt;&gt;
								</s:else>
							</s:iterator>
						</div>
						<div class="jiage">
							<span class="del">定价：￥${product.fixedPrice }</span>
							<span class="redc30">当当价：<b>￥${product.dangPrice }</b> </span>
							<br/>
							<br/>
							<span class="comm_star" id="spn_average_score"></span> 
							共有商品评论
							<span id="spn_rev_cnt">${count}</span>条
							
						</div>
						<div class="goumai">
								<h6>
									<span id="buymsg${product.id}" class="list_r_list_button"  style="float:right;display: none; color:green;" ><img src='${pageContext.request.contextPath}/images/select.jpg' /></span>
								</h6>
								<h6>
									<span class="list_r_list_button"  > 
										<a href="javascript:;" onclick="buy(${product.id});"> 
											<img src='images/buttom_goumai.gif' /> 
										</a>
										<br/>
									</span>
								</h6>
							</div>
					</div>
					
					

					<div id="dvTPUrls"></div>
					<div id="__zhinengbiaozhu_bk">
						<h2 class="right_title1">
							&nbsp;
						</h2>
						<h2 class="right_title1">
							<img
								src="${pageContext.request.contextPath}/images/bg_point1.gif" />
							内容简介
						</h2>
						<div class="right_content">
							${product.authorSummary }
							<br>
						</div>
						<div class="dashed"></div>
						<h2 class="right_title1">
							<img
								src="${pageContext.request.contextPath}/images/bg_point1.gif" />
							作者简介
						</h2>
						<div class="right_content">
							${product.author }
						</div>
						<div class="dashed"></div>
						<h2 class="right_title1">
							<img
								src="${pageContext.request.contextPath}/images/bg_point1.gif" />
							目录
						</h2>
						<div class="right_content">
							${product.catalogue }
						</div>
					</div>
					

					<br />
					<br />
					<div class="comm_answer">

						
					</div>
				</div>
				<!--right_wai end-->
			</div>
			<!--right end-->
			<div class="clear"></div>
		</div>
		<!--wrap end-->

		<%@include file="../common/foot.jsp"%>
	</body>

</html>